home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1998 August: Tool Chest / Dev.CD Aug 98 TC.toast / Tool Chest / Testing & Debugging / Virtual User / Virtual User Current Release / Examples / External Tool Templates / CPlus Tool Template / RequestDispatcher.r.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-06-04  |  1.7 KB  |  49 lines  |  [TEXT/MPS ]

  1. /*
  2.  *    File:        RequestDispatcher.r.h
  3.  *
  4.  *    Contains:    xxx put contents here xxx
  5.  *
  6.  *    Written by:    Rick Violet
  7.  *
  8.  *    Copyright:    © 1992 by Apple Computer, Inc., all rights reserved.
  9.  *
  10.  *    Change History (most recent first):
  11.  *
  12.  *                11/18/92    RV        xxx put comment here xxx
  13.  *
  14.  *    To Do:
  15.  */
  16.  
  17. #ifndef __RequestDispatcherResources__
  18. #define __RequestDispatcherResources__
  19.  
  20.  
  21. /*—————————————————————————————————————————————————————————————————————————————————————
  22.     These constants pertain to resource usage or definition.
  23.     
  24.     This file can be included by a Rez source file (.r) 
  25.                               or a C/C++ (.c/.cp) source file.
  26.                               
  27.     Constants which occur in both Rez & C/C++ sources are put here to prevent 
  28.     two definitions of a constant with differing values. This way there is
  29.     one definition, and only one value. 
  30. —————————————————————————————————————————————————————————————————————————————————————*/
  31.  
  32. /*—————————————————————————————————————————————————————————————————————————————————————
  33.     The following are indicies into our error STR# resource. 
  34. */
  35. #define kDispatcherErrStrings    129        /* STR# id for RequestDispatcher error messages */
  36.  
  37. #define    kReqQueueConstructErr        1        /* Failed to construct request Queue */
  38. #define    kServQueueConstructErr        2        /* Failed to construct Service Queue */
  39. #define    kMakeServProcTableErr        3        /* Failed to construct MakeServiceProcTable */
  40. #define    kDispatcherConstructErr        4        /* Failed to construct RequestDispatcher */
  41.     /*SBR Hacked this out, moved to Application.r.h 10/16/94 */
  42. /*#define    kAppleEventVersionErr        5        /* Wrong version of AppleEvent manager */
  43.     /*SBR Hacked this in 10/16/94 */
  44. #define    kThreadsNotPresentErr        5        /* ThreadedService called without Threads */
  45.  
  46.  
  47.  
  48. #endif
  49.